{% extends 'base.html' %}

{% block content %}
    <div class="content-section">
        <form method="POST">
            {% csrf_token %}
            <fieldset class="form-group">
                <legend class="border-bottom mb-4">删除问题</legend>
            </fieldset>
            <div class="form-group">
                <h3>确定要删除 {{ post.title }} 吗？</h2>
                <button class="btn btn-outline-danger" type="submit">Yes, Delete</button>
                <a class="btn btn-outline-secondary" href="{% url 'detail' post.id %}">Cancel</a>
            </div>
        </form>
    </div>
{% endblock %}